package com.gobo.jinghuimall.product.feign;

import com.gobo.common.to.SkuReductionTo;
import com.gobo.common.to.SpuBoundsTo;
import com.gobo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author guanboStart
 * @date 2021/10/27 22:12
 */
@FeignClient("jinghuimall-coupon")
public interface CouponFeign {

    @PostMapping("/coupon/spubounds/saveSpuBounds")
    public R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("coupon/skufullreduction/saveSkuReduction")
    public R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);

}
